package com.blogsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blogsystem.entity.Article;

import java.util.List;

public interface ArticleService extends IService<Article> {
    List<Article> getDraftArticlesByUsername(String username);

    List<Article> getPendingArticlesByUsername(String username);

    List<Article> getAllArticlesByUserId(Integer userId);

}
